package controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: KuangJieWen
 * @Date: 2018/1/22 16:35
 * @Description:自学SpringBoot第一章
 */

@RestController
public class HelloController {
    @RequestMapping("/hello")
    public String hello(){
        return "Hello Spring Boot";
    }

}

